package com.derry

fun main() {
    val len = "zhangjin".count()
    println(len)

    val c = "zhangjin".count {
        it == 'n'
    }
    println(c)
}